package com.mdd.front.service;

import com.mdd.common.core.AjaxResult;
import com.mdd.common.core.PageResult;
import com.mdd.front.validate.ShopAppRecordCreateValidate;
import com.mdd.front.validate.ShopAppRecordSearchValidate;
import com.mdd.front.validate.common.PageValidate;
import com.mdd.front.vo.record.ShopRecordDetailVo;
import com.mdd.front.vo.record.ShopRecordListedVo;

public interface IShopAppRecordService {

    /**
     * 开店申请新增
     *
     * @author cxt
     * @param createValidate 参数
     */
    void add(ShopAppRecordCreateValidate createValidate);

    /**
     * 开店申请列表
     *
     * @author cxt
     * @param pageValidate 分页参数
     * @return PageResult<ShopRecordListedVo>
     */
    PageResult<ShopRecordListedVo> list(PageValidate pageValidate,Integer userId);

    /**
     * 开店申请详情
     *
     * @author cxt
     * @param id 主键ID
     * @return ShopRecordDetailVo
     */
    ShopRecordDetailVo detail(Integer id);




    /**
     * 发送验证码
     * @param mobile
     * @return
     */
    AjaxResult<Object> sendCode(String mobile);
}
